// DispNetpack.h: interface for the CDispNetpack class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DispNetpack_H__4AC4FDD7_A8B4_4239_8706_CF4F54C28357__INCLUDED_)
#define AFX_DispNetpack_H__4AC4FDD7_A8B4_4239_8706_CF4F54C28357__INCLUDED_

#ifdef WIN32
#pragma warning(disable:4786)
#endif

#include "../../source/OS/OSThread.h"
//#include "../../source/OS/OSSemaphore.h"
#include "NetReceiver.h"

class CDispNetpack : public OSTask  
{
public:
	static CDispNetpack& Instance();
	static void DelInstance();

	virtual ~CDispNetpack();
private:
	CDispNetpack();
	virtual Bool Run();
	Bool DispData(PNetDataInfo pNetDataInfo);

	Bool DispToSliceCollector( UInt16 nReqID, PNetDataInfo pNetDataInfo);
//	OSSemaphore m_Semaphore;

private:
	static CDispNetpack*	m_Instance;
};

#endif // !defined(AFX_DispNetpack_H__4AC4FDD7_A8B4_4239_8706_CF4F54C28357__INCLUDED_)
